<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>

<?php
if(!isset($_SESSION)){
	session_start();
}	
?>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Phân quyền admin Page</title>
    <link href="../Styles/adminstype.css" rel="stylesheet" type="text/css" />

</head>
<body>
<div>
 	<div style="width: 700px; float: left;"></div>
	<div style="width: 290px; float: right; color: #0000AD; font-size: 20px"> 
	<?php
		if((!empty($_SESSION["adminName"]) && !empty($_SESSION["adminRole"])))
		{
			echo("Xin chào:" . $_SESSION["adminName"] . " | <a href='resource/form_logout.php'> Logout </a> </div>");
			
		} else {
			echo("</div><div  style='width: 700px;padding: 30px'>");
			
			include './resource/form_login.php';
			echo("</div>");
		}
	?>
	
	
</div>
</body>
</html>